{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 登录flightaware 并获取4个月的航班信息\n",
    "\n",
    "import requests\n",
    "from bs4 import BeautifulSoup\n",
    "\n",
    "headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'}\n",
    "login_url= 'https://zh.flightaware.com/account/session'\n",
    "login_data= {\n",
    "        #'referer': 'https://zh.flightaware.com/account/session',\n",
    "        'mode': 'login',\n",
    "        'flightaware_username': 'huangkai39',\n",
    "        'flightaware_password': '1qazxsw2'\n",
    "    }\n",
    "\n",
    "with requests.Session() as s:\n",
    "    r= s.post(login_url, data=login_data, headers=headers)\n",
    "    print(r.status_code)\n",
    "    #r.text\n",
    "    flight_rul= 'https://zh.flightaware.com/live/flight/CSN3039/history/160'\n",
    "    f = s.get(flight_rul, headers=headers)\n",
    "    print( f.status_code)\n",
    "    #print(f.text)\n",
    "    soup = BeautifulSoup(f.text, \"lxml\")\n",
    "    records= soup.find_all(\"tr\", class_=\"rowClickTarget\")\n",
    "    for r in records:\n",
    "        print ( r['data-target'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "200\n",
      "200\n",
      "/live/flight/CCA102/history/20180615/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180614/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180613/0455Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180612/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180611/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180610/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180609/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180608/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180607/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180606/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180605/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180604/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180603/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180602/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180601/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180531/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180530/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180529/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180528/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180527/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180526/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180525/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180524/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180523/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180522/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180521/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180520/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180519/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180518/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180517/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180516/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180515/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180514/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180513/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180512/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180511/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180510/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180509/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180508/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180507/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180506/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180505/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180504/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180503/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180502/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180501/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180430/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180429/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180428/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180427/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180426/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180425/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180424/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180423/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180422/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180421/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180420/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180418/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180417/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180416/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180415/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180414/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180413/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180412/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180411/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180410/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180409/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180408/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180407/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180406/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180405/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180404/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180403/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180402/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180401/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180331/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180330/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180329/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180328/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180327/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180326/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180325/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180324/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180323/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180322/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180321/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180320/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180319/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180318/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180317/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180316/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180315/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180314/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180313/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180312/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180311/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180310/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180309/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180308/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180307/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180306/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180305/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180304/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180303/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180302/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180301/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180228/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180227/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180226/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180225/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180224/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180223/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180222/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180221/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180220/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180219/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180218/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180217/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180216/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180215/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180214/0430Z/VHHH/ZBAA\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "['/live/flight/CCA102/history/20180615/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180614/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180613/0455Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180612/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180611/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180610/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180609/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180608/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180607/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180606/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180605/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180604/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180603/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180602/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180601/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180531/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180530/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180529/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180528/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180527/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180526/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180525/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180524/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180523/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180522/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180521/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180520/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180519/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180518/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180517/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180516/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180515/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180514/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180513/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180512/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180511/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180510/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180509/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180508/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180507/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180506/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180505/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180504/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180503/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180502/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180501/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180430/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180429/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180428/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180427/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180426/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180425/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180424/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180423/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180422/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180421/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180420/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180418/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180417/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180416/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180415/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180414/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180413/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180412/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180411/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180410/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180409/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180408/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180407/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180406/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180405/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180404/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180403/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180402/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180401/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180331/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180330/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180329/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180328/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180327/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180326/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180325/0445Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180324/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180323/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180322/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180321/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180320/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180319/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180318/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180317/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180316/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180315/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180314/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180313/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180312/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180311/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180310/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180309/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180308/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180307/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180306/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180305/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180304/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180303/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180302/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180301/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180228/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180227/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180226/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180225/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180224/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180223/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180222/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180221/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180220/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180219/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180218/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180217/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180216/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180215/0430Z/VHHH/ZBAA',\n",
       " '/live/flight/CCA102/history/20180214/0430Z/VHHH/ZBAA']"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 函数\n",
    "from bs4 import BeautifulSoup\n",
    "def parse_flight(id):\n",
    "    with requests.Session() as s:\n",
    "        r= s.post(login_url, data=login_data, headers=headers)\n",
    "        print(r.status_code)\n",
    "        #r.text\n",
    "        flight_rul= 'https://zh.flightaware.com/live/flight/'+id+'/history/160'\n",
    "        f = s.get(flight_rul, headers=headers)\n",
    "        print( f.status_code)\n",
    "        #print(f.text)\n",
    "        soup = BeautifulSoup(f.text, \"lxml\")\n",
    "        records= soup.find_all(\"tr\", class_=\"rowClickTarget\")\n",
    "        flights=[]\n",
    "        for r in records:\n",
    "            #print ( r['data-target'])\n",
    "            flights.append( r['data-target'])\n",
    "        \n",
    "        return flights\n",
    "    \n",
    "parse_flight(\"CCA102\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 存储到数据库\n",
    "import mysql.connector\n",
    "\n",
    "def save_flight(fleet_id, flights):\n",
    "    cnx = mysql.connector.connect(user='flightdata', password='flightdata',\n",
    "                              host='127.0.0.1',\n",
    "                              database='flightdata')\n",
    "    cursor = cnx.cursor()\n",
    "    cursor.execute(\"create table if not exists flight(id int auto_increment primary key, fleet_id varchar(10), \\\n",
    "                   url varchar(100) not null unique );\")\n",
    "    add_fleet = \"INSERT ignore INTO flight  \\\n",
    "                  ( fleet_id, url) \\\n",
    "                  VALUES (%s,%s)\"\n",
    "    for url in flights:\n",
    "        #print(f['id'])\n",
    "        cursor.execute(add_fleet, (fleet_id, url))\n",
    "\n",
    "    cnx.commit()\n",
    "\n",
    "    cursor.close()\n",
    "    cnx.close()\n",
    "\n",
    "fleet_id=\"CCA102\"\n",
    "flights=['/live/flight/CCA102/history/20180215/0430Z/VHHH/ZBAA',\n",
    " '/live/flight/CCA102/history/20180214/0430Z/VHHH/ZBAA']\n",
    "save_flight(fleet_id, flights)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "200\n",
      "200\n",
      "/live/flight/CCA102/history/20180615/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180614/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180613/0455Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180612/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180611/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180610/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180609/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180608/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180607/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180606/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180605/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180604/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180603/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180602/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180601/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180531/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180530/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180529/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180528/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180527/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180526/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180525/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180524/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180523/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180522/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180521/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180520/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180519/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180518/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180517/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180516/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180515/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180514/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180513/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180512/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180511/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180510/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180509/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180508/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180507/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180506/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180505/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180504/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180503/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180502/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180501/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180430/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180429/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180428/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180427/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180426/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180425/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180424/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180423/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180422/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180421/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180420/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180418/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180417/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180416/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180415/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180414/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180413/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180412/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180411/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180410/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180409/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180408/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180407/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180406/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180405/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180404/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180403/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180402/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180401/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180331/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180330/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180329/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180328/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180327/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180326/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180325/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180324/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180323/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180322/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180321/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180320/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180319/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180318/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180317/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180316/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180315/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180314/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180313/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180312/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180311/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180310/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180309/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180308/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180307/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180306/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180305/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180304/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180303/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180302/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180301/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180228/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180227/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180226/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180225/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180224/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180223/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180222/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180221/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180220/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180219/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180218/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180217/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180216/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180215/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180214/0430Z/VHHH/ZBAA\n"
     ]
    }
   ],
   "source": [
    "fleet_id=\"CCA102\"\n",
    "flights= parse_flight(fleet_id)\n",
    "save_flight(fleet_id, flights)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "CCA102\n",
      "200\n",
      "200\n",
      "/live/flight/CCA102/history/20180615/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180614/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180613/0455Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180612/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180611/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180610/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180609/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180608/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180607/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180606/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180605/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180604/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180603/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180602/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180601/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180531/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180530/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180529/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180528/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180527/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180526/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180525/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180524/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180523/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180522/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180521/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180520/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180519/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180518/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180517/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180516/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180515/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180514/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180513/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180512/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180511/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180510/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180509/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180508/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180507/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180506/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180505/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180504/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180503/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180502/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180501/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180430/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180429/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180428/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180427/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180426/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180425/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180424/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180423/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180422/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180421/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180420/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180418/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180417/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180416/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180415/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180414/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180413/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180412/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180411/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180410/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180409/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180408/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180407/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180406/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180405/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180404/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180403/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180402/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180401/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180331/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180330/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180329/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180328/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180327/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180326/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180325/0445Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180324/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180323/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180322/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180321/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180320/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180319/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180318/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180317/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180316/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180315/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180314/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180313/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180312/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180311/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180310/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180309/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180308/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180307/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180306/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180305/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180304/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180303/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180302/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180301/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180228/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180227/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180226/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180225/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180224/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180223/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180222/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180221/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180220/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180219/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180218/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180217/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180216/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180215/0430Z/VHHH/ZBAA\n",
      "/live/flight/CCA102/history/20180214/0430Z/VHHH/ZBAA\n",
      "CCA104\n",
      "200\n",
      "200\n",
      "/live/flight/CCA104/history/20180615/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180614/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180613/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180612/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180611/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180610/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180609/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180608/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180607/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180606/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180605/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180604/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180603/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180602/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180601/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180531/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180530/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180529/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180528/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180527/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180526/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180525/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180524/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180523/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180522/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180521/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180520/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180519/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180518/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180517/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180516/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180515/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180514/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180513/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180512/0450Z/VHHH/ZHHH\n",
      "/live/flight/CCA104/history/20180512/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180511/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180510/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180509/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180508/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180507/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180506/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180505/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180504/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180503/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180502/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180501/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180430/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180429/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180428/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180427/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180426/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180425/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180424/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180423/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180422/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180421/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180420/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180419/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180418/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180417/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180416/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180415/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180414/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180413/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180412/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180411/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180410/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180409/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180408/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180407/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180406/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180405/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180404/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180403/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180402/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180401/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180331/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180330/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180329/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180328/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180327/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180326/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180325/0450Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180324/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180323/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180322/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180321/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180320/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180319/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180318/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180317/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180316/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180315/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180314/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180313/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180312/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180311/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180310/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180309/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180308/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180307/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180306/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180305/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180304/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180303/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180302/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180301/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180228/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180227/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180226/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180225/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180224/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180223/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180222/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180221/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180220/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180219/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180218/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180217/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180216/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180215/0500Z/VHHH/ZBTJ\n",
      "/live/flight/CCA104/history/20180214/0500Z/VHHH/ZBTJ\n",
      "CCA105\n",
      "200\n",
      "200\n",
      "/live/flight/CCA105/history/20180615/0500Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180614/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180613/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180612/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180611/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180610/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180609/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180608/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180607/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180606/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180605/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180604/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180603/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180602/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180601/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180531/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180530/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180529/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180528/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180527/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180526/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180524/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180523/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180522/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180521/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180520/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180519/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180518/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180517/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180516/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180515/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180514/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180512/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180511/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180510/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180509/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180508/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180507/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180506/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180505/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180504/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180503/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180502/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180501/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180430/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180429/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180428/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180427/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180426/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180425/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180424/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180423/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180422/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180421/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180420/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180419/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180418/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180417/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180416/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180415/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180414/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180413/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180412/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180411/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180410/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180409/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180408/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180407/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180406/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180405/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180404/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180403/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180402/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180401/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180331/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180330/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180329/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180328/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180327/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180326/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180325/0450Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180324/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180323/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180322/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180321/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180320/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180319/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180318/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180317/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180316/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180315/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180314/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180313/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180312/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180311/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180310/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180309/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180308/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180307/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180306/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180305/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180304/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180303/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180302/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180301/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180228/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180227/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180226/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180225/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180224/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180223/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180222/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180221/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180220/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180219/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180218/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180217/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180216/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180215/0435Z/ZYTL/VHHH\n",
      "/live/flight/CCA105/history/20180214/0435Z/ZYTL/VHHH\n",
      "CCA108\n",
      "200\n",
      "200\n",
      "/live/flight/CCA108/history/20180615/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180614/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180612/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180611/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180610/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180609/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180608/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180607/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180606/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180605/0240Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180604/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180603/0240Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180602/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180601/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180531/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180530/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180529/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180528/0240Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180527/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180526/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180525/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180524/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180523/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180522/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180521/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180520/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180519/0240Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180518/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180517/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180516/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180515/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180514/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180513/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180512/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180511/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180510/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180509/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180508/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180507/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180506/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180505/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180504/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180503/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180502/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180501/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180430/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180429/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180428/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180427/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180426/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180425/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180424/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180423/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180422/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180421/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180420/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180418/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180417/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180416/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180415/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180414/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180413/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180412/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180411/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180410/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180409/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180408/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180407/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180406/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180405/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180404/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180403/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180402/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180401/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180331/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180330/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180329/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180328/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180327/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180326/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180325/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180324/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180323/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180322/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180321/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180320/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180319/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180318/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180317/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180316/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180315/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180314/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180313/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180312/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180311/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180310/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180309/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180308/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180307/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180306/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180305/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180304/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180303/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180302/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180301/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180228/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180227/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180226/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180225/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180224/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180223/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180222/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180221/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180220/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180219/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180218/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180217/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180216/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180215/0230Z/VHHH/ZBAA\n",
      "/live/flight/CCA108/history/20180214/0230Z/VHHH/ZBAA\n",
      "CCA109\n",
      "200\n",
      "200\n",
      "/live/flight/CCA109/history/20180615/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180614/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180613/0500Z/ZBAA/ZGSZ\n",
      "/live/flight/CCA109/history/20180613/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180612/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180611/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180610/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180609/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180608/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180607/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180606/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180605/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180604/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180603/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180602/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180601/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180531/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180530/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180529/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180528/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180527/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180526/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180525/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180524/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180523/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180522/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180521/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180520/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180519/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180518/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180517/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180516/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180515/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180514/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180513/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180512/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180511/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180510/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180509/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180508/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180507/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180506/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180505/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180504/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180503/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180502/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180501/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180430/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180429/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180428/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180427/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180426/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180425/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180424/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180423/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180422/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180421/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180420/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180418/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180417/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180416/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180415/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180414/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180413/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180412/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180411/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180410/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180409/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180408/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180407/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180406/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180405/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180404/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180403/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180402/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180401/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180331/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180330/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180329/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180328/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180327/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180326/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180325/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180324/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180323/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180322/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180321/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180320/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180319/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180318/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180317/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180316/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180315/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180314/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180313/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180312/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180311/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180310/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180309/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180308/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180307/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180306/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180305/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180304/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180303/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180302/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180301/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180228/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180227/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180226/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180225/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180224/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180223/0550Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180222/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180221/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180220/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180219/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180218/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180217/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180216/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180215/0500Z/ZBAA/VHHH\n",
      "/live/flight/CCA109/history/20180214/0500Z/ZBAA/VHHH\n",
      "CCA1112\n",
      "200\n",
      "200\n",
      "/live/flight/CCA1112/history/20180615/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180614/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180613/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180612/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180611/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180610/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180609/0430Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180608/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180607/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180606/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180605/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180604/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180603/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180602/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180601/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180531/0430Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180530/0430Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180529/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180528/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180527/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180526/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180525/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180524/0430Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180523/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180522/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180521/0430Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180520/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180519/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180518/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180517/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180516/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180515/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180514/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180513/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180512/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180511/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180510/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180509/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180508/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180507/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180506/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180505/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180504/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180503/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180502/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180501/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180430/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180429/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180428/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180427/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180426/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180425/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180424/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180423/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180422/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180421/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180420/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180419/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180418/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180417/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180416/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180415/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180414/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180413/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180412/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180411/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180410/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180409/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180408/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180407/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180405/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180404/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180403/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180402/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180401/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180330/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180329/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180328/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180327/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180326/0420Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180325/0045Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180324/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180323/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180322/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180321/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180320/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180319/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180318/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180317/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180316/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180315/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180314/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180313/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180312/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180311/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180310/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180309/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180308/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180307/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180306/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180305/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180304/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180303/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180302/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180301/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180228/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180227/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180226/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180225/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180224/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180223/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180222/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180221/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180220/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180219/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180218/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180217/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180216/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180215/0640Z/ZBHH/ZBAA\n",
      "/live/flight/CCA1112/history/20180214/0640Z/ZBHH/ZBAA\n",
      "CCA118\n",
      "200\n",
      "200\n",
      "/live/flight/CCA118/history/20180615/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180614/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180613/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180612/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180611/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180610/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180609/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180608/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180607/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180606/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180605/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180604/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180603/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180602/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180601/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180531/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180530/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180529/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180528/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180527/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180526/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180525/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180524/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180523/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180522/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180521/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180520/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180519/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180518/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180517/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180516/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180515/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180514/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180513/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180512/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180511/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180510/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180509/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180508/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180507/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180506/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180505/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180504/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180503/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180502/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180501/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180430/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180429/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180428/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180427/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180426/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180425/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180424/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180423/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180422/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180421/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180420/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180419/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180418/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180417/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180416/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180415/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180414/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180413/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180412/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180411/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180410/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180409/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180408/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180407/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180406/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180405/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180404/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180403/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180402/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180401/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180331/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180330/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180329/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180328/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180327/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180326/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180325/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180324/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180323/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180322/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180321/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180320/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180319/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180318/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180317/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180316/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180315/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180314/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180313/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180312/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180311/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180310/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180309/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180308/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180307/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180306/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180305/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180304/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180303/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180302/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180301/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180228/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180227/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180226/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180225/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180224/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180223/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180222/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180221/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180220/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180219/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180218/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180217/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180216/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180215/0030Z/VHHH/ZBAA\n",
      "/live/flight/CCA118/history/20180214/0030Z/VHHH/ZBAA\n",
      "CCA1210\n",
      "200\n",
      "200\n",
      "/live/flight/CCA1210/history/20180615/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180614/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180613/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180612/0530Z/ZLXY/ZBTJ\n",
      "/live/flight/CCA1210/history/20180612/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180611/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180610/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180609/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180608/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180607/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180606/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180605/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180604/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180603/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180602/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180601/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180531/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180530/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180529/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180528/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180527/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180526/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180525/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180524/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180523/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180522/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180521/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180520/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180519/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180518/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180517/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180516/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180515/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180514/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180513/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180512/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180511/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180510/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180509/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180508/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180507/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180506/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180505/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180504/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180503/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180502/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180501/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180429/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180428/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180427/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180426/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180425/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180424/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180423/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180422/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180421/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180420/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180419/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180418/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180417/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180416/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180415/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180414/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180413/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180412/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180411/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180410/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180409/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180408/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180407/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180406/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180405/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180404/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180403/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180402/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180401/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180331/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180330/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180329/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180328/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180327/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180326/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180325/0530Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180324/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180323/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180322/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180321/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180320/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180319/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180318/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180317/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180316/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180315/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180314/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180313/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180312/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180311/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180310/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180309/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180308/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180307/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180306/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180305/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180304/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180303/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180302/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180301/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180228/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180227/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180226/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180225/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180224/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180223/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180222/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180221/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180220/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180219/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180218/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180217/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180216/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180215/0535Z/ZLXY/ZBAA\n",
      "/live/flight/CCA1210/history/20180214/0535Z/ZLXY/ZBAA\n",
      "CCA1215\n",
      "200\n",
      "200\n",
      "/live/flight/CCA1215/history/20180615/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180614/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180613/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180612/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180611/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180610/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180609/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180608/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180607/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180606/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180605/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180604/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180603/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180602/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180601/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180531/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180530/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180529/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180528/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180527/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180526/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180525/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180524/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180523/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180522/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180521/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180520/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180519/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180518/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180517/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180516/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180515/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180514/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180513/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180512/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180511/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180510/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180509/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180508/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180507/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180505/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180504/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180503/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180502/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180501/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180430/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180429/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180428/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180427/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180426/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180425/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180424/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180423/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180422/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180421/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180420/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180419/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180418/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180417/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180416/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180415/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180414/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180413/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180412/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180411/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180410/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180409/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180408/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180407/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180406/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180405/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180404/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180403/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180402/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180401/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180330/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180329/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180328/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180327/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180326/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180325/0420Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180324/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180323/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180322/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180321/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180320/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180319/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180318/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180317/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180316/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180315/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180314/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180313/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180312/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180311/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180310/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180309/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180308/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180307/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180306/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180305/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180304/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180303/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180302/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180301/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180228/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180227/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180226/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180225/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180224/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180223/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180222/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180221/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180220/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180219/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180218/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180217/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180216/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180215/0425Z/ZLXY/ZSPD\n",
      "/live/flight/CCA1215/history/20180214/0425Z/ZLXY/ZSPD\n",
      "CCA1219\n",
      "200\n",
      "200\n",
      "/live/flight/CCA1219/history/20180615/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180614/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180613/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180611/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180610/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180609/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180608/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180607/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180606/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180605/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180604/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180603/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180602/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180601/0520Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180531/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180530/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180529/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180528/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180527/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180526/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180525/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180524/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180523/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180522/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180521/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180520/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180519/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180518/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180517/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180516/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180515/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180514/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180513/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180512/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180511/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180510/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180509/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180508/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180507/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180506/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180504/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180503/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180502/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180501/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180430/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180429/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180428/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180427/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180426/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180425/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180424/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180423/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180421/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180420/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180418/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180417/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180416/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180415/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180414/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180413/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180412/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180411/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180410/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180409/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180408/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180407/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180406/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180405/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180404/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180403/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180402/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180401/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180331/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180330/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180329/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180328/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180327/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180326/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180325/0510Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180324/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180323/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180322/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180321/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180320/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180319/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180318/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180317/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180316/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180315/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180314/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180313/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180312/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180311/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180310/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180309/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180308/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180307/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180306/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180305/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180304/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180303/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180302/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180301/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180228/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180227/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180226/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180225/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180224/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180223/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180222/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180221/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180220/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180219/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180218/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180217/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180216/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180215/0525Z/ZBAA/ZLIC\n",
      "/live/flight/CCA1219/history/20180214/0525Z/ZBAA/ZLIC\n"
     ]
    }
   ],
   "source": [
    "# 获取所有航班\n",
    "cnx = mysql.connector.connect(user='flightdata', password='flightdata',\n",
    "                              host='127.0.0.1',\n",
    "                              database='flightdata')\n",
    "cursor = cnx.cursor()\n",
    "cursor.execute(\"select id from fleet limit 10\")\n",
    "for id in cursor:\n",
    "    print (id[0])\n",
    "    fleet_id= id[0]\n",
    "    flights= parse_flight(fleet_id)\n",
    "    save_flight(fleet_id, flights)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
